// 导出excel
const exportExcel = (url, paramsObj) => {
  let str = '?'
  for (let key in paramsObj) {
    str = str + key + '=' + paramsObj[key] + '&'
  }
  let exportExcelPath = url + str.slice(0, str.length - 1)
  window.open(exportExcelPath)
}

export default exportExcel
